import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
import './assets/css/bootstrap.css'
import axios from 'axios'
//调用vue.create构造函数生成app对象
const app = createApp(App)

//设置axios的基地址
axios.defualt.baseURL = 'https://www.escook.cn'
//将axios挂载到app对象上
app.config.globalProperties.$http = axios
//渲染app组件
app.mount('#app')
